<!DOCTYPE html>
<html>
<head>
<title>flash播放</title>

<script src="js/swfobject.js"></script>
<script>

    swfobject.embedSWF("movies/1.swf", "myMovie",400,300, "9.0.0", "movies/expressInstall.swf");

function stop(){
    
    var m=document.myMovie||window.myMovie;    
    m.StopPlay();
    
}
function play(){
    
    var m=document.myMovie||window.myMovie;    
    m.Play();
}
function load(url){
    
    var m=document.myMovie||window.myMovie;    
        m.LoadMovie(0,url);
    
    
}
    

</script>
</head>

<body >
<div id="myMovie">

</div>
<hr>
<a href="javascript:stop()">stop</a>
<a href="javascript:play()">play</a>
<a href="javascript:load('movies/1.swf')">1</a>
<a href="javascript:load('movies/2.swf')">2</a>
<a href="javascript:load('movies/3.swf')">3</a>
<a href="javascript:load('movies/4.swf')">4</a>
<a href="javascript:load('movies/5.swf')">5</a>
</body>

</html>
